var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/businessComponent/imp/cpts/components/NoticeIconContent.tsx
var NoticeIconContent_exports = {};
__export(NoticeIconContent_exports, {
  default: () => NoticeIconContent_default
});
module.exports = __toCommonJS(NoticeIconContent_exports);
var import_icons = require("@ant-design/icons");
var import_functionalComponent = require("../../../../functionalComponent");
var import_util = require("../../../../util");
var NoticeIconContent_default = ({ children, iconVisible = false }) => {
  if (!iconVisible) {
    return /* @__PURE__ */ React.createElement(import_util.Layout.Flex, { direction: "column" }, children);
  }
  return /* @__PURE__ */ React.createElement(import_util.Layout.Flex, { direction: "column" }, /* @__PURE__ */ React.createElement("div", { style: { display: "flex", justifyContent: "flex-end", padding: 5 } }, /* @__PURE__ */ React.createElement(import_functionalComponent.Tooltip, { title: "在当前单据转换关系中，管理员配置了不允许重复引用来源数据，因此部分数据处于禁用状态。" }, /* @__PURE__ */ React.createElement(import_icons.InfoCircleFilled, { style: { color: "var(--color-waring)", justifyItems: "flex-end" } }))), /* @__PURE__ */ React.createElement(import_util.Layout.Flex, null, children));
};
